package com.hzlx.mapper;/*
 *@author liu
 *2024/07/2024/7/29
 *@version
 */

import com.hzlx.entity.WatchList;
import com.hzlx.entity.WithdrawalRecords;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface WithdrawalRecordsMapper {
    List<WatchList> getAll(@Param("startIndex") Integer startIndex, @Param("pageSize") Integer pageSize);
    Integer countGetAll(@Param("startIndex") Integer startIndex, @Param("pageSize") Integer pageSize);

    int saveWithdrawalRecords(WithdrawalRecords withdrawalRecords);

    int agree(Integer flowId);

    int refuse(Integer flowId);

    int updateStatuesById(@Param("withdrawalRecordId") Integer withdrawalRecordId, @Param("status") Integer status, @Param("refuse") String refuse,@Param("voucher") String voucher);
}
